package text

import "github.com/gogf/gf/v2/net/ghttp"

type cryptoService struct{}

func (receiver *cryptoService) TarHeader(r *ghttp.Request) {
	// source := "B:/tests/tests/tests/1.jpg"
	// source := "B:\\tests\\tests\\tests\\1\\"
	// target := "B:\\tests\\tests\\tests\\1.tar"
	// target := "B:\\tests\\tests\\tests\\1.tar.gz"
	// target := "B:\\tests\\tests\\tests\\1.tar.bz2"
	// target := "B:\\tests\\tests\\tests\\1.tar.xz"

	// err := archive.ArchiveTar.Tarc(source, target)
	// err := archive.ArchiveTar.Tarx(target, source)
	// header, err := archive.ArchiveTar.Header(target)
	// if err != nil {
	// 	fmt.Println(err)
	// }
}
